assert_eq failure message now multi-line related to rust pull request 42541.
authorGiles Cope <gilescope@gmail.com>
Fri, 16 Jun 2017 07:40:05 +0000 (08:40 +0100)
committerGiles Cope <gilescope@gmail.com>
Fri, 16 Jun 2017 07:40:05 +0000 (08:40 +0100)
tests/bench.rs

index d589f234bc226ae146b0d0a1d05c2935bf790322..1c3ed25977a599e6451e8cd5a8ab04826d44410d 100644 (file)
@@ -242,8 +242,9 @@ fn cargo_bench_failing_test() {
 [FINISHED] release [optimized] target(s) in [..]
 [RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
 thread '[..]' panicked at 'assertion failed: \
-    `(left == right)` (left: \
-    `\"hello\"`, right: `\"nope\"`)', src[/]foo.rs:14
+    `(left == right)`
+ left: `\"hello\"`,
+right: `\"nope\"`', src[/]foo.rs:14
 [..]
 ", p.url()))
                        .with_status(101));